/**
 * @Author: 徐铭泽
 * @Date: 2019/11/5
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 新增数据
export const save = params => axios.post(`${SERVER.VEHICLE}/vsStore/save`, params);

// 更新数据
export const edit = params => axios.put(`${SERVER.VEHICLE}/vsStore/edit`, params);

// 获取主页面列表数据
export const search = params => axios.get(`${SERVER.VEHICLE}/vsStore/search`, { params });
